package com.zqx.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zqx.domain.CountNumber;
import com.zqx.mapper.DormMapper;
import com.zqx.domain.Dorm;
import com.zqx.service.DormService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DormServiceImpl extends ServiceImpl<DormMapper, Dorm>implements DormService {
    @Autowired
    private DormMapper dormMapper;
    @Override
    public List<CountNumber> queryNum() {
        return dormMapper.queryNum();
    }
}
